<template>
  <div class="q-pa-md q-gutter-sm">

    <t-banner
      class="tr-banner-primary"
      content="这是一个带按钮的通知"
      :actions="[
        {
          label: '关闭',
          showLabel: false,
          ID: 'f36c2a68-7da5-8c80-c7ca-81d212a9798d',
          icon: 'fas dx-icon icon-t-delete-01',
        },
      ]"
      :inlineActions="true"
      @bannerBtnClick="btnClick"
    >
    </t-banner>
  </div>
</template>
<script setup>
const btnClick = action => {
  alert(action.label);
};
</script>
